//
//  BaseView.h
//  TenMinDemo
//
//  Created by Shawn Li on 2021/3/8.
//  Copyright © 2021 CYXiang. All rights reserved.
//

#import <UIKit/UIKit.h>

#define INITFROMXIB - (instancetype)initWithFrame:(CGRect)frame{\
if (self = [super initWithFrame:frame]) {\
    self =  [[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class])  owner:self options:nil].firstObject;\
        self.frame = frame;\
}\
return self;\
}\

NS_ASSUME_NONNULL_BEGIN

@interface BaseView : UIView

@end

NS_ASSUME_NONNULL_END
